package ilvonen.ihstatistics.models;

public class Stat {

	private int _id;
	private int _value;
	private int _playerInGameId;
	private int _gameId;
	private int _statTypeId;
	private String _statName;
	private String _time;
	private String _coordinates;
	private int _penaltyReason;
	private int _assistant1;
	private int _assistant2;
	
	public Stat(){

	}

	/**
	 * For identitying the stat
	 * @return the _id
	 */
	public int get_id() {
		return _id;
	}

	/**
	 * @param _id the _id to set
	 */
	public void set_id(int _id) {
		this._id = _id;
	}

	/**
	 * The value of the stat. For goal value is 1. For normal penalty value is 2 (2 minutes)
	 * @return the _value
	 */
	public int get_value() {
		return _value;
	}

	/**
	 * @param _value the _value to set
	 */
	public void set_value(int _value) {
		this._value = _value;
	}

	/**
	 * For identifying the stat type;
	 * @return the _statTypeId
	 */
	public int get_statTypeId() {
		return _statTypeId;
	}

	/**
	 * @param _statTypeId the _statTypeId to set
	 */
	public void set_statTypeId(int _statTypeId) {
		this._statTypeId = _statTypeId;
	}

	/**
	 * The name of the stat in short form. Goal is M, Assist is S...
	 * @return the _statTypeShortName
	 */
	public String get_statName() {
		return _statName;
	}

	/**
	 * @param _statTypeShortName the _statTypeShortName to set
	 */
	public void set_statTypeShortName(String _statName) {
		this._statName = _statName;
	}

	/**
	 * Time when the stat has happened. This is the time of the game clock. For example: 25.55 means game was 25 minutes and 55sec old when something happened.
	 * @return the _time
	 */
	public String get_time() {
		return _time;
	}

	/**
	 * @param _time the _time to set
	 */
	public void set_time(String _time) {
		this._time = _time;
	}

	/**
	 * Only goal or shot can have coordinates. This is for the map.
	 * @return the _coordinates
	 */
	public String get_coordinates() {
		return _coordinates;
	}

	/**
	 * @param _coordinates the _coordinates to set
	 */
	public void set_coordinates(String _coordinates) {
		this._coordinates = _coordinates;
	}

	/**
	 * Optional information if stat type was identified as penalty this can tell the reason of the penalty.
	 * @return the _penaltyReason
	 */
	public int get_penaltyReason() {
		return _penaltyReason;
	}

	/**
	 * @param _penaltyReason the _penaltyReason to set
	 */
	public void set_penaltyReason(int _penaltyReason) {
		this._penaltyReason = _penaltyReason;
	}

	/**
	 * Someone made goal. This tells us who assisted. This is assistant name. Use form of: Lastname F.
	 * @return the _assistant1
	 */
	public int get_assistant1() {
		return _assistant1;
	}

	/**
	 * @param _assistant1 the _assistant1 to set
	 */
	public void set_assistant1(int _assistant1) {
		this._assistant1 = _assistant1;
	}

	/**
	 * Goals can have max 2 assistants.
	 * @return the _assistant2
	 */
	public int get_assistant2() {
		return _assistant2;
	}

	/**
	 * @param _assistant2 the _assistant2 to set
	 */
	public void set_assistant2(int _assistant2) {
		this._assistant2 = _assistant2;
	}

	/**
	 * @return the _playerInGameId
	 */
	public int get_playerInGameId() {
		return _playerInGameId;
	}

	/**
	 * @param _playerInGameId the _playerInGameId to set
	 */
	public void set_playerInGameId(int _playerInGameId) {
		this._playerInGameId = _playerInGameId;
	}

	/**
	 * @return the _gameId
	 */
	public int get_gameId() {
		return _gameId;
	}

	/**
	 * @param _gameId the _gameId to set
	 */
	public void set_gameId(int _gameId) {
		this._gameId = _gameId;
	}
}
